﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Corsat.Library.Logic
{
    public class Item
    {

        private int id;
        private string value;
        private string description;
        private Library.Item parent;
        private Library.Item category;

        public Library.Item Category
        {
            get { return category; }
            set { category = value; }
        }

        public Library.Item Parent
        {
            get { return parent; }
            set { parent = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public string Value
        {
            get { return value; }
            set { this.value = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public override string ToString()
        {
            return value;
        }
        
    }

    
}
